﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        ServiceReference1.WebServiceSoapClient client = new ServiceReference1.WebServiceSoapClient();
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            DataSet[] result = client.getAllOption("caoqingyu");
            var ds = result[0];

            client.updateOption("27","1038", "Profile 9999", "caoqingyu", "1", "2", ds.Tables[1], ds.Tables[2], DateTime.Now, "11111");
        }
    }
}